<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../../js/bootstrap-3.3.7-dist/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="../../../css/footer.css" />
		<link rel="stylesheet" type="text/css" href="../../../css/swiper-3.4.2.min.css" />
		<link rel="stylesheet" type="text/css" href="../css/record_details.css" />
		<!--画图插件-->
		<script src="../../../js/flexible.min.js" type="text/javascript" charset="utf-8"></script>
		<style type="text/css">
			.foot:nth-child(1) {
				color: #e83023;
			}
		</style>
	</head>
	<body>
		<div id="wrap">
			<div id="main">
				<div id="header">
					<a id="headImg" href="javascript:history.go(-1)"><img class="headImg" src="../../../images/12.png" /></a>
					<p id="headTitle" style="font-size: 16px;">日志反馈</p>
				</div>
				<div id="content" style="padding-top: 1.7rem;background-color: #FFFFFF;">
					<h5 class="time" id="subDate" style="text-align: center;padding-bottom: 0.555555rem;">2017年10月16日 星期一</h5>
					<h6><b>今日完成</b></h6>
					<p id="subToday">

					</p>
					<h6><b>明日计划</b></h6>
					<p id="subTomorrow">

					</p>
					<h6><b>评语(非必填)</b><span id="checkRemark"></span></h6>
					<p></p>
					<p><b>积分申请类型：</b><span id="integralSort"></span></p>
					<p><b>积分申请标准： </b><span id="integralNorm"></span></p>
					<p><b>积分数： </b><span id="integralCount"></span></p>
					<p><b>评语人: </b><span id="checkAccount"></span></p>
					<div style="height: 1.1rem;"></div>
				</div>
			</div>
			<div id="foot" class="row">
				<a class="foot col-xs-3 col-sm-3" href="../../kaoqin/index2.html">
					<img class="footImg" src="../../../images/guanlixuanzhong.png" />
					<p>管理</p>
				</a>
				<a class="foot col-xs-3 col-sm-3" href="../../coalition/colalition.html">
					<img class="footImg" src="../../../images/lianmengchushi.png" />
					<p>联盟</p>
				</a>
				<a class="foot col-xs-3 col-sm-3" href="../../store/store.html">
					<img class="footImg" src="../../../images/11.png" />
					<p>商城</p>
				</a>
				<a class="foot col-xs-3 col-sm-3" href="../../personage/personIndex.html">
					<img class="footImg" src="../../../images/13.png" />
					<p>我的</p>
				</a>
			</div>
		</div>

	</body>
	<script src="../../../js/jquery-2.2.3.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../../js/bootstrap-3.3.7-dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../../js/handlebars-v2.0.0.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		$(function() {
			joblogSearch();
		});
		//获取该id日志详情
		function joblogSearch() {
			$("#item1_list").empty();
			$.ajax({
				cache: false,
				type: "GET",
				url: "http://10.0.47.157:5555/companyapplyfor-service/joblog/search?pageNum=1&pageSize=10&id=" + getQueryString("id"),
				dataType: "JSON",
				async: false,
				error: function(XMLHttpRequest, textStatus, errorThrown) {
					alert("网络异常请稍后重试！");
				},
				success: function(data) {
					var joblog = data.joblog;
					/*	var checkStatus;
						switch(list.checkStatus) {
							case "0":
								checkStatus = "待反馈";
								break;
							case "1":
								checkStatus = "已反馈";
								break;
							default:
								checkStatus = "-";
								break;
						}*/
					$("#subDate").html(joblog.subDate); //日期
					$("#subToday").html(joblog.subToday); //今日完成
					$("#subTomorrow").html(joblog.subTomorrow); //明日计划
					$("#checkRemark").html(joblog.checkRemark); //评语
					$("#integralSort").html(joblog.integralSort); //积分申请类型
					$("#integralNorm").html(joblog.integralNorm); //积分申请标准
					$("#integralCount").html(joblog.integralCount); //积分数
					$("#checkAccount").html(joblog.checkAccount); //评语人
				}
			});
		}
		//获取url后缀参数
		function getQueryString(name) {
			var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
			var r = window.location.search.substr(1).match(reg);
			if(r != null) return decodeURI(r[2]);
			return null;
		}
	</script>

</html>